<template>
<div style="" class="assetheader">
    <div style="float: left;width: 100%">
      <div class="assetheaderleft">{{title}}</div>
      <div class="assetheaderright assetheaderrightclose" @click="close">
        ×
    </div>
    </div>
  </div>
</template>
  <script>
  export default {
    name:"dialogheader",
    props: {
		  title: {type: Object, default: ""},
	  },
    mounted() {

},
onLoad() {
},
methods: {
    async close(){
        this.$emit('close');
    },
}

  }
  </script>
  <style>
  .assetheader{
  width: 100%;background-color: #f8f8f8;height: 44px;line-height: 44px;
  border-bottom: 1px solid #F0F0F0;
  font-size: 14px;
}
.assetheaderleft{
  float: left;
  margin-left: 10px;
  font-size: 14px;
  color: #626262;
  
    font-weight: 400;
}
.assetheaderright{
  float: right;cursor: pointer;
  margin-right: 5px;
}

.assetheaderrightclose{
  position: absolute;
    
    font-weight: 400;
    font-size: 1.5em;
    color: rgba(0, 0, 0, 0.6);
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
    transform: translateZ(36px);
    text-align: center;
    box-shadow: rgb(136, 136, 136) 0px 0px 2px inset;
    z-index: 2;
    user-select: none;
    height: 25px;
    line-height: 25px;
    right: 2px !important;
    top: 5px !important;
    text-decoration: none;
    border-radius: 5px;
    background: rgb(255, 255, 255);
    transition: all 0.05s ease 0s;
}
.assetheaderrightclose:hover{
  top: 6px !important;
    right: 1px !important;
    box-shadow: rgb(136, 136, 136) 0px 0px 3px inset;
}
  </style>